/*******************************************************************************
 * Copyright (c) 2006 CEA List.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Eclipse Public License v1.0
 * which accompanies this distribution, and is available at
 * http://www.eclipse.org/legal/epl-v10.html
 *
 * Contributors:
 *     CEA List - initial API and implementation
 *******************************************************************************/
package com.cea.papyrus.diagram.usecase.figure;

import org.eclipse.draw2d.Figure;
import org.eclipse.draw2d.IFigure;

import com.cea.papyrus.core.figures.NodeFigure;

/**
 * View of a UseCase.
 * 
 * @author Gilles Cannenterre
 * @since 9 oct. 06
 */
public class UseCaseEllipseGeneralFigure extends NodeFigure {
	
	/** The container figure. */
	protected Figure containerFigure;
	
	/** The extension point content. */
	protected ExtensionPointContainerFigure extensionPointContent;

	/**
	 * Gets the extension point container of a use case figure.
	 * 
	 * @return extension point container of a use case figure
	 */
	public IFigure getContentPane() {
		return containerFigure;
	}

	/**
	 * Adds the extension point container.
	 * 
	 * @param f the f
	 */
	public void addExtensionPointContainer(ExtensionPointContainerFigure f) {
		extensionPointContent = f;		
	}
}